﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace NMLX_Data_Management
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            bool isRun;
            Mutex myMutetex = new Mutex(true, "NMLX_Data_Management", out isRun);
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (isRun)
            {
                Application.Run(new Form1());
            }
            else
            {
                MessageBox.Show("改程序已运行!");
            }
          
            //Application.Run(new AddProgram());
        }
    }
}
